﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Ticket_booking.aspx.cs" Inherits="Ticket_booking" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
    <style type="text/css">
        .style2
        {            height: 403px;
        }
        .style5
        {
            height: 30px;
        }
        .style6
        {
            height: 31px;
        }
        .style7
        {
            height: 57px;
        }
        .style8
        {
            height: 50px;
        }
        .style9
        {
            height: 29px;
        }
        .style10
        {
            height: 25px;
        }
        .style11
        {
            height: 146px;
        }
        .style12
        {
        }
        .style15
        {
            height: 21px;
        }
        .style17
        {
            height: 24px;
        }
        .style18
        {
            height: 3px;
        }
        .style19
        {
            height: 3px;
            width: 499px;
        }
        .style20
        {
            height: 24px;
            width: 499px;
        }
        .style21
        {
            width: 499px;
        }
        .style22
        {
            height: 223px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <asp:ScriptManager ID="scmTicket" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="udpnTicketBooking" runat="server">
        <ContentTemplate>
            <div style="width: 249px; height: 515px; margin-left: 31px; float:left;">
                <table style="border-style: inset; width: 100%; height: 503px;">
                    <tr>
                        <td class="style8" style="background-color: #0000CC; color: #FFFFFF;">
                            <asp:Image ID="imgImage1" runat="server" Height="51px" 
                                ImageUrl="~/Image/bluenew_sess_1.png" />
                            <asp:Label ID="lblTitle" runat="server" Font-Size="18pt" Text="Movie"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td class="style5">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style2">
                            <asp:DataList ID="ddlMovie" runat="server" BackColor="White" 
                                BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="4" 
                                ForeColor="Black" GridLines="Horizontal" Height="186px" Width="235px">
                                <FooterStyle BackColor="#CCCC99" ForeColor="Black" />
                                <HeaderStyle BackColor="#333333" Font-Bold="True" ForeColor="White" />
                                <ItemTemplate>
                                    <asp:LinkButton ID="lbtnMovie" runat="server" style="text-decoration :none;"
                                        CommandArgument='<%# Eval("MovieID") %>' onclick="lbtnMovie_Click" 
                                        Text='<%# Eval("MovieName") %>'></asp:LinkButton>
                                </ItemTemplate>
                                <SelectedItemStyle BackColor="#CC0000" Font-Bold="True" ForeColor="White" />
                            </asp:DataList>
                        </td>
                    </tr>
                </table>
            </div>
            <div style="width: 254px; height: 509px; margin-left: 42px; float:left">
                <table style="border-style: inset; width: 100%; height: 512px;">
                    <tr>
                        <td style="color: #FFFFFF; background-color: #0000CC;" class="style6">
                            <asp:Image ID="imgImage2" runat="server" Height="51px" 
                                ImageUrl="~/Image/bluenew_sess_2.png" Width="54px" />
                            <asp:Label ID="lblTitle3" runat="server" Font-Size="18pt" Text="Time"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td class="style9">
                            </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:DataList ID="ddlDate" runat="server" BackColor="White" 
                                BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="4" 
                                ForeColor="Black" GridLines="Horizontal" Height="186px" Width="235px">
                                <FooterStyle BackColor="#CCCC99" ForeColor="Black" />
                                <HeaderStyle BackColor="#333333" Font-Bold="True" ForeColor="White" />
                                <ItemTemplate>
                                    <asp:LinkButton ID="ddlDate" runat="server" 
                                        CommandArgument='<%# Eval("DateMovie") %>' 
                                        style="text-decoration :none;" Text='<%# Eval("DateMovie") %>' 
                                        onclick="ddlDate_Click"></asp:LinkButton>
                                </ItemTemplate>
                                <SelectedItemStyle BackColor="#CC3333" Font-Bold="True" ForeColor="White" />
                            </asp:DataList>
                            <br />
                            <asp:DataList ID="ddlTime" runat="server" BackColor="White" 
                                BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="4" 
                                ForeColor="Black" GridLines="Horizontal" Height="179px" Width="248px">
                                <FooterStyle BackColor="#CCCC99" ForeColor="Black" />
                                <HeaderStyle BackColor="#333333" Font-Bold="True" ForeColor="White" />
                                <ItemTemplate>
                                    <asp:LinkButton ID="lbtnTime" runat="server" 
                                        CommandArgument='<%# Eval("TimeMovie") %>' 
                                        style="text-decoration :none;" Text='<%# Eval("TimeMovie") %>' 
                                        onclick="lbtnTime_Click"></asp:LinkButton>
                                </ItemTemplate>
                                <SelectedItemStyle BackColor="#CC3333" Font-Bold="True" ForeColor="White" />
                            </asp:DataList>
                        </td>
                    </tr>
                </table>
            </div>
            <div style="height: 509px; margin-left: 635px; width: 244px;">
                <table style="border-style: inset; width: 100%; height: 509px;">
                    <tr>
                        <td class="style7" style="background-color: #0000CC; color: #FFFFFF">
                            <asp:Image ID="imgImage3" runat="server" Height="51px" 
                                ImageUrl="~/Image/bluenew_sess_3.png" Width="54px" />
                            <asp:Label ID="lblTitle2" runat="server" Font-Size="18pt" Text="Cinema"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td class="style10">
                        </td>
                    </tr>
                    <tr>
                        <td class="style22">
                            <asp:DataList ID="ddlCinema" runat="server" BackColor="White" 
                                BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="4" 
                                ForeColor="Black" GridLines="Horizontal" Height="186px" Width="235px">
                                <FooterStyle BackColor="#CCCC99" ForeColor="Black" />
                                <HeaderStyle BackColor="#333333" Font-Bold="True" ForeColor="White" />
                                <ItemTemplate>
                                    <asp:LinkButton ID="lbtnCinema" runat="server" 
                                        CommandArgument='<%# Eval("ChairID") %>'
                                        style="text-decoration :none;" Text='<%# Eval("ChairID") %>' 
                                        onclick="lbtnCinema_Click"></asp:LinkButton>
                                </ItemTemplate>
                                <SelectedItemStyle BackColor="#CC3333" Font-Bold="True" ForeColor="White" />
                            </asp:DataList>
                            <br />
                        </td>
                    </tr>
                    <tr>
                        <td class="style11">
                            <asp:Label ID="lblIf" runat="server" Text="Price:"></asp:Label>
                            &nbsp;
                            <br />
                            <asp:Label ID="lblt" runat="server" Text="Số vé muốn đặt:"></asp:Label>
                            &nbsp;<asp:DropDownList ID="DropDownList1" runat="server" Height="18px" 
                                style="margin-left: 49px">
                                <asp:ListItem>1</asp:ListItem>
                                <asp:ListItem>2</asp:ListItem>
                                <asp:ListItem>3</asp:ListItem>
                                <asp:ListItem>4</asp:ListItem>
                                <asp:ListItem>5</asp:ListItem>
                                <asp:ListItem>6</asp:ListItem>
                                <asp:ListItem>7</asp:ListItem>
                                <asp:ListItem>8</asp:ListItem>
                                <asp:ListItem>9</asp:ListItem>
                                <asp:ListItem>10</asp:ListItem>
                                <asp:ListItem></asp:ListItem>
                            </asp:DropDownList>
                            &nbsp;</td>
                    </tr>
                </table>
            </div>
                <div style="height: 259px; margin-top: 18px;">
                    <table style="border-style: solid; width: 100%; height: 191px;">
                        <tr>
                            <td class="style15" colspan="2" 
                                style="color: #FFFFFF; background-color: #000099">
                                <asp:Label ID="lblTitle4" runat="server" Font-Size="18pt" Text="Ticket booking"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                            </td>
                        </tr>
                        <tr>
                            <td class="style19">
                                <asp:Label ID="lblMovie" runat="server" Text="Movie:"></asp:Label>
                            </td>
                            <td class="style18">
                                <asp:Label ID="lblMovieS" runat="server" Text="*"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td class="style20">
                                <asp:Label ID="lblDate" runat="server" Text="Date:"></asp:Label>
                            </td>
                            <td class="style17">
                                <asp:Label ID="lblDateS" runat="server" Text="*"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td class="style21">
                                <asp:Label ID="lblTime" runat="server" Text="Time:"></asp:Label>
                            </td>
                            <td class="style12">
                                <asp:Label ID="lblTimeS" runat="server" Text="*"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td class="style21">
                                <asp:Label ID="lblChair" runat="server" Text="Chair:"></asp:Label>
                            </td>
                            <td class="style12">
                                <asp:Label ID="lblChairS" runat="server" Text="*"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td class="style21" style="color: #FF3300">
                                You can pay by money transfer to the following bank account: 011921231231231<br /> 
                                We will notify ticket code to you by email.</td>
                            <td class="style12">
                                <asp:Label ID="lblError" runat="server" ForeColor="Red" Text="*"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td class="style21">
                                &nbsp;</td>
                            <td class="style12">
                                <asp:Button ID="btnSummit" runat="server" Text="Summit" Width="108px" 
                                    onclick="btnSummit_Click" />
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                &nbsp;</td>
                        </tr>
                    </table>
                </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <br />
    <br />
    <br />
</asp:Content>

